<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">题目名称:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea class="form-control editor" rows="5" placeholder=""></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">题目类型:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[type]',
            [
            '1'=>__('单选'),
            '2'=>__('多选'),
            '3'=>__('判断'),
            '4'=>__('问答'),
            '5'=>__('填空'),
            '6'=>__('完形填空'),
            '7'=>__('阅读理解'),
            '8'=>__('名词解释'),
            ],
            0)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题目选项')}:</label>
        <div class="col-xs-12 col-sm-8">
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th>选项</th>
                    <th>内容</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td style="vertical-align: middle">A</td>
                    <td><textarea class="form-control editor" rows="5" placeholder=""></textarea></td>
                    <td style="vertical-align: middle">设置</td>
                </tr>
                <tr>
                    <td style="vertical-align: middle">B</td>
                    <td><textarea class="form-control editor" rows="5" placeholder=""></textarea></td>
                    <td style="vertical-align: middle">设置</td>
                </tr>
                <tr>
                    <td style="vertical-align: middle">C</td>
                    <td><textarea class="form-control editor" rows="5" placeholder=""></textarea></td>
                    <td style="vertical-align: middle">设置</td>
                </tr>
                <tr>
                    <td style="vertical-align: middle">D</td>
                    <td><textarea class="form-control editor" rows="5" placeholder=""></textarea></td>
                    <td style="vertical-align: middle">设置</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题目解析')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea class="form-control editor" rows="5" placeholder=""></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
